const express = require('express')
const router = express.Router()

router.post('/encode', (req, res) => {
  // Encoding logic
  res.json({ message: 'Encoded' })
})

router.post('/decode', (req, res) => {
  // Decoding logic
  res.json({ message: 'Decoded' })
})

module.exports = router